import type { CSSProperties } from "react";

export interface DatePickerProps {
  picker: "date" | "datetime";
  value?: number;
  defaultValue?: number;
  style?: CSSProperties;
  disabled?: boolean;
  className?: string;
  placeholder?: string;
  onChange?: (value: number | null, dateString: string | null) => void;
  disablePreviousDate?: boolean;
  getPopupContainer?: (trigger?: HTMLElement) => HTMLElement;
}
